<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
		<title>确认支付页</title>
		<link rel="stylesheet" href="../../css/base.css">
		<link rel="stylesheet" type="text/css" href="../../css/api.css"/>
		<style>
			html, body {
				width: 100%;
				height: 100%;
				background: #FFFFFF;
				margin: 0px;
			}
			p {
				display: block;
				-webkit-margin-before: 0em;
				-webkit-margin-after: 0em;
				-webkit-margin-start: 0px;
				-webkit-margin-end: 0px;
			}
			li {
				list-style-type: none;
				/*height: 51px;*/
				width: 100%;
			}
			ul, menu, dir {
				display: block;
				list-style-type: disc;
				-webkit-margin-before: 0em;
				-webkit-margin-after: 0em;
				-webkit-margin-start: 0px;
				-webkit-margin-end: 0px;
				-webkit-padding-start: 0px;
			}
			.list_ly {
				width: 100%;
				height: 50px;
				display: -webkit-box;
			}
			.list_ly_left {
				height: 50px;
				line-height: 50px;
				-webkit-box-flex: 1;
			}
			.list_ly_left p {
				padding-left: 15px;
			}
			.list_ly_right {
				height: 50px;
				line-height: 50px;
				-webkit-box-flex: 2;
				text-align: -webkit-right;
				margin-right: 15px;
				text-overflow: ellipsis;
			}
			.orders {
				width: 100%;
				height: 91px;
				position: absolute;
				bottom: 0px;
			}
			.orders_text {
				padding-right: 15px;
			}
			.mask {
				position: absolute;
				top: 0px;
				filter: alpha(opacity=60);
				background-color: #777;
				z-index: 1002;
				left: 0px;
				opacity: 0.5;
				-moz-opacity: 0.5;
			}
		</style>
	</head>
	<body>
		<!--<div class="base_navigation_bar base_style_color base_navigation_item_bar">
		<a class="base_left_item" href="#" onclick="backClick()">
		<img class="base_back_icon" src="../../image/icon_jiantou.png" alt="">
		</a>
		<span id="newsTitle">确认订单</span>
		<a class="base_right_item" >
		</a>
		</div>-->
		<div class="base_style_color " id='BarAppearance' style="height: 22px;width: 100%"></div>
		<div class="base_navigation_bar base_style_color base_navigation_item_bar">
			<a class="base_left_item" href="#" onclick="backClick()"> <img class="base_back_icon" src="../../image/icon_jiantou.png" alt=""> </a>
			<span id="deta_title">确认订单</span>
			<a class="base_right_item base_hide_item"> </a>
		</div>
	</body>
	<script type="text/javascript" src="../../script/api.js"></script>
	<script type="text/javascript" src="../../script/jquery.min.js"></script>
	<script type="text/javascript">
		apiready = function() {
			openFrame();
			//安卓下按2返回键退出
			api.addEventListener({
				name : 'keyback'
			}, function(ret, err) {
				api.sendEvent({
					name : 'close_frame'
				});
			});
		};
		//打开子窗口
		function openFrame() {
			api.openFrame({
				name : 'Upload_pager',
				url : 'Upload_pager.html',
				rect : {
					x : 0,
					y : 66,
					w : api.winWidth,
					h : api.winHeight - 66
				},
				pageParam : {
					sourceurl : api.pageParam.sourceurl,
					sourcetitle : api.pageParam.sourcetitle,
				}
			});
		}

		//打开支付页
		function upload() {
			$("#mask").css("height", $(document).height());
			$("#mask").css("width", $(document).width());
			$("#mask").show();
			api.openFrame({
				name : 'Affrim',
				url : 'Affrim.html',
				rect : {
					x : 0,
					y : api.winHeight * 0.4,
					w : api.winWidth,
					h : api.winHeight * 0.6
				}
			});
		}

		//关闭蒙层
		function close_mark() {
			$("#mask").hide();
		}

		//退出
		function backClick() {
			api.sendEvent({
				name : 'close_frame'
			});
		}
	</script>
</html>